import model from '@/models/dismodels';


//请求列表数据
export const setDisListData = (params) => async (dispatch) =>{
  // console.log("dis",data);
  let {data} = await model.getDiscoverListrData( params);
  dispatch({
    type: 'setDisListData',
    data
  })
}


//清空列表数据
export const clearDisListData = (arg) => async (dispatch) =>{
  dispatch({
    type: 'clearDisListData',
    data:[]
  })
}
